package cn.lctvu.servlet.admin;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

@WebServlet("/admin/getAllNewsServlet")
public class getAllNewsServlet extends HttpServlet {
    protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

        //取得当前栏目id
        String itemidstr=request.getParameter("itemid");
        //取得查询的标题
        String title=request.getParameter("title");
        //取得当前的页码
        String pageNumstr=request.getParameter("pageNum");
        //当前栏目id为空，则查询的是所有栏目



    }

    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

    }
}
